<template>
  <div id="app">
    <canvas id="canvas" width="1920" height="100%" style="position: absolute;left: 0;top: 0;opacity:0.3;width: 100%;height: 100%;z-index: -1"></canvas>
    <TopTab v-if="this.$route.path!='/login'"></TopTab>
    <router-view></router-view>
  </div>
</template>

<script>

import TopTab from "@/components/TopTab/TopTab";
export default {
  name: 'App',
  components:{TopTab},
  mounted() {
    require('../public/static/js/startLight');
  }
}
</script>

<style lang="scss">
@import "assets/iconfont/iconfont.css";
* {
  margin: 0;
  padding: 0;
  border: none;
  box-sizing: border-box;
  text-decoration: none;
  outline: none;
  color: $black;
}

html, body,#app {
  width: 100%;
  height: 100%;
}

body{
  background: #0c1865;
}

input::placeholder {
  color: $darkGray;
}

*:active {
  border: none;
  text-decoration: none;
  outline: none;
}

/*
滚动条美化
 */
::-webkit-scrollbar-track {
  background-color: #F5F5F5
}

::-webkit-scrollbar {
  width: 3px;
  background-color: #F5F5F5
}

::-webkit-scrollbar-thumb {
  background-color: #999
}
.page{
  height: calc(100% - 80px);
}
</style>
